package cn.org.xwb.bookmall.model.vo;

import cn.org.xwb.bookmall.model.po.ProductImg;
import cn.org.xwb.bookmall.model.po.ProductLabel;
import cn.org.xwb.bookmall.model.po.ProductOptions;
import cn.org.xwb.bookmall.model.po.ProductParam;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ProductVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    private Long id;

    private String title;

    private Long productCategoryId;

    private String productCategory;

    private Long productCategorySubId;

    private String productCategorySub;

    private Double freight;

    /**
     * 是否删除
     */
    private Boolean isRemove;

    private String delivery;

    private String address;

    private String descriptionMd;

    private String descriptionHtml;

    private Integer sale;

    /**
     * 图书编码
     */
    private String code;

    private List<ProductImg> imgs;

    private List<ProductLabel> labels;

    private List<ProductParam> params;

    private List<ProductOptions> options;

}
